#!/bin/sh
cd ${0%/*} || exit 1    # run from this directory

# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

# -- Create paraview file
paraFoam -builtin -touch

# -- Create the mesh
runApplication blockMesh

# -- run the calc
# the debug flag writes each intermediate refinement set
runApplication $(getApplication) -func diffusionEqn -dict diffusionProperties -time

